package app

import (
	"errors"

	"github.com/go-apibox/api"
)

var (
	ERROR_NOT_EXIT_TASK = errors.New("not exit task")
	error_todo          = errors.New("todo")

	ERROR_COMPOSITION_IS_EMPTY = errors.New("待分析文章为空")
)

func newApiErrorconnectDbFailed(c *api.Context) *api.Error {
	return c.Error.New(api.ErrorInternalError, "ConnectDBFailed")
}
